package com.probox.common.entity.service.job;

import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.probox.common.core.enums.DataStatus;
import com.probox.common.entity.mapper.job.JobPlatformInfoMapper;
import com.probox.common.entity.domain.job.PlatformInfo;;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 平台信息Service业务层处理
 *
 * @date 2021-06-19
 */
@Service
@Transactional
public class JobPlatformInfoServiceImpl extends ServiceImpl<JobPlatformInfoMapper, PlatformInfo> implements IPlatformInfoService {
    @Autowired
    private JobPlatformInfoMapper jobPlatformInfoMapper;

    /**
     *修改过期的店铺
     */
    @Override
    public void Update(){
       /* DateTime date = DateUtil.date();
        UpdateWrapper<PlatformInfo> updateWrapper = new UpdateWrapper<>();
        updateWrapper.le("auth_time",date );
        updateWrapper.ne("IS_AUTH", DataStatus.delete.getKey());
        updateWrapper.set("IS_AUTH",DataStatus.delete.getKey());
        this.update(updateWrapper);*/
    }


}
